home *** CD-ROM | disk | FTP | other *** search
- Path: bunyip.cc.uq.oz.au!peg!riox
- From: riox@peg.apc.org
- Newsgroups: comp.lang.c
- Subject: "Best fit" algorithm (help)
- Message-ID: <APC&7'0'22b6b83'874@peg.apc.org>
- Date: Tue, 26 Mar 1996 11:33:52 +1000
- X-Gateway: notes@peg.apc.org
-
- Hello,
- Can anyone help me?
- I am looking for a "best fit" algorithm.
- The problem I have is very similar to finding the best way of fitting the
- maximum number of songs on (say) 45 minute tape.
- If one knows the length of each song and the number of songs, how can one
- find the best arrangement to occupy maximum amount of tape without "cutting"
- off any songs. Ie, how to minimise the empty space left on the tape.
-
- Can you help?
-
- Robert S.
- (riox@peg.apc.org)
-
-